var ExamReviewer={
GetExam:function(UserId)
	{
	LoadAjax.Get(fastCSharp.ThisFunction(this,this.OnGetExam,[UserId]),'/include/examReviewer.html',{userId:this.UserId=UserId});
	},
OnGetExam:function(Value,UserId)
	{
	if(this.UserId==UserId)
		{
		fastCSharp.Skins.examReviewer.Show(Value);
		fastCSharp.FloatCenters.examReviewer.Show();
		}
	},
Hide:function()
	{
	fastCSharp.FloatCenters.examReviewer.Hide();
	},
Set:function(ExamId,IsExam,ViewId)
	{
	LoadAjax.Post(fastCSharp.ThisFunction(this,this.OnSet,[fastCSharp.ViewObjects[ViewId],IsExam?-1:1]),IsExam?'enterprise.exam.DeleteReviewUser':'enterprise.exam.AppendReviewUser',{examId:ExamId,userId:this.UserId});
	},
OnSet:function(Value,View,Count)
	{
	if(Value.__AJAXRETURN__)	View.IsExam.Set(Count>0);
	}
		};